The TSQL2 Data Model

نویسندگان

  • Christian S. Jensen
  • Richard T. Snodgrass
  • Michael D. Soo
چکیده

Adding time to the relational model has been a daunting task [1, 2, 3, 4]. More than two dozen time-extended relational data models have been proposed over the last fifteen years [5]. Most of these are valid-time models. Each fact in a validtime relation has associated the time when it is true in the modeled reality. Other models support transaction-time relations where each fact has associated the time when it is current in the database. A few support both valid and transaction time [6, 7, 8, 9, 10]; such models are termed bitemporal. As a whole, these data models are referred to as temporal data models [11]. This chapter introduces the data model upon which TSQL2 is based. A data model can be said to consist of a query language, objects manipulated by the query language, an update language for updating the objects, and a mechanism for specifying integrity constraints. In this chapter we focus on the objects, temporal relations. Subsequent chapters will address historical selection and projection, aggregates, and the other aspects necessary to define a comprehensive extension to SQL incorporating time. While existing data models differ on many dimensions, perhaps the most frequently stated distinction is between tuple timestamping and first normal form (1NF), on one hand, and attribute-value timestamping and non-1NF, on the other. Each of the two approaches has associated difficulties. Remaining within 1NF (an example being the timestamping of tuples with valid and transaction start and end times [8]) may introduce redundancy because attribute values that change at different times are repeated in multiple tuples. The non-1NF models, one being timestamping attribute values with sets of intervals [12], may not be capable of directly using existing relational storage structures or query evaluation techniques that depend on atomic attribute values.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Evaluating the Completeness of TSQL2

The question of what is a well-designed temporal data model and query language is a difficult, but also an important one. The consensus temporal query language TSQL2 attempts to take advantage of the accumulated knowledge gained from designing and studying many of the earlier models and languages. In this sense, TSQL2 represents a constructive answer to this question. Others have provided analy...

متن کامل

Evaluating the Completeness of TSQL

The question of what is a well-designed temporal data model and query language is a diicult, but also an important one. The consensus temporal query language TSQL2 attempts to take advantage of the accumulated knowledge gained from designing and studying many of the earlier models and languages. In this sense, TSQL2 represents a constructive answer to this question. Others have provided analyti...

متن کامل

An Algebra for TSQL2

TSQL2 is a declarative query language, and as such, requires a procedural (algebraic) equivalent for implementation. In this chapter, we describe such an algebraic language. We undertook this design in order to show that TSQL2 can be implemented efficiently, with minimal extension of existing techniques. As TSQL2 provides a consistent extension of SQL-92, we had a parallel goal in the construct...

متن کامل

A History-Oriented Temporal SQL Extension

Dozens of temporal extension of the relational data model and of the query language SQL have appeared in recent years. Recently, a committee formed by researchers from the academic and the industrial worlds designed a consensual extension of the SQL-92 standard to include time, epitomized as TSQL2. According to the fundamental concepts of temporal grouping and temporal completeness elaborated b...

متن کامل

TERC+: A Temporal Conceptual Model

Much work has been done recently on the design of a temporal extension to SQL-92, called TSQL2. Similar work is being done to add temporality to the forthcoming SLQ3 standard. Still, TSQL2 is based on the relational model, which is hardly adequate for conceptual modeling of any but the simplest applications. This paper presents a temporal conceptual model, called TERC+, that can be used for dev...

متن کامل

Experience Using TSQL2 in a Natural Language Interface

Attempting to use Tsql2 in a natural language interface for temporal databases has focused our attention on certain points in the semantics of Tsql2 where we believe that clariications or modiications are needed. It has also led us to some extensions to Tsql2 that seem generally useful, regardless of natural language issues.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1995